//
//  JKJMainNaViViewController.m
//  jiukeji
//
//  Created by 小宇 on 2017/11/24.
//  Copyright © 2017年 小宇. All rights reserved.
//

#import "JKJMainNaViViewController.h"

@interface JKJMainNaViViewController ()

@end

@implementation JKJMainNaViViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}


- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated{
	if (self.viewControllers.count > 0) {
		//   隐藏底部tabar
		viewController.hidesBottomBarWhenPushed = YES;
		self.automaticallyAdjustsScrollViewInsets = NO;
		//viewController.navigationItem.leftBarButtonItem = [UIBarButtonItem barButtonItemWithImgName:@"back_black" Target:nil action:@selector(back)];
	}
	[super pushViewController:viewController animated:animated];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
